<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%-- jsp:directive.include file="Fulbinet.jsp\Inicio.jsp"/>--%>

<script type="text/javascript" src="ValidacionesJS.js"></script>  
<head>
<style type="text/css">@import url(calendar-win2k-1.css);</style>
<script type="text/javascript" src="calendar.js"></script>
<script type="text/javascript" src="calendar-es.js"></script>
<script type="text/javascript" src="calendar-setup.js"></script>
</head>

 <div id="calendar-container" style="float: right"></div>
 
    <fieldset>    
    <form name="RegCliente" action="CrearClienteServlet" method="post" onSubmit="">
    <div id="nav" class="nav"><ul>
	<li>Registro de Clientes</li>
    </ul></div>
    <table border="0">
    <tr><td><font class="labels">Apellido Paterno</font></td><td><input type="text" name="apepat" size="45" class="texto"/></td></tr>
    <tr><td><font class="labels">Apellido Materno</font></td><td><input type="text" name="apemat" size="45" class="texto"/></td></tr>
    <tr><td><font class="labels">Nombres</font></td><td><input type="text" name="nombres" size="45" class="texto"/></td></tr>
    <tr><td><font class="labels">Fecha Nacimiento</font></td><td><input type="text" id="date" name="fecnac" size="10" class="texto"/><input type="button" id="trigger" value="..."></td></tr>
    <tr><td><font class="labels">Tipo Documento</font></td><td><input type="text" name="tipodoc" size="3" class="texto"/></td></tr>
    <tr><td><font class="labels">Nro. Documento</font></td><td><input type="text" name="nrodoc" value="" size="15" MAXLENGTH="10"/></td></tr>
    <tr>
	<%-- <td>Sexo</td>
	<td> <select name="sex">
     <option value="F">Femenino</option>
      <option value="M">Masculino</option> 
           </select>  </td>
	</tr>--%>
    <tr><td><font class="labels">Sexo</font></td><td><input type="text" name="sex" value="" size="1" MAXLENGTH="1"/></td></tr> 
    <tr><td><font class="labels">E-mail</font></td><td><input type="text" name="email" size="45"  class="texto"/></td></tr>
    <tr><td><font class="labels">Distrito</font></td><td><input type="text" name="distrito" size="3" class="texto"/></td></tr>
    <tr><td><font class="labels">Direccion</font></td><td><input type="text" name="direcc" size="45" class="texto"/></td></tr>
    <tr><td><font class="labels">Celular</font></td><td><input type="text" name="celular" size="15" class="texto"/></td></tr>
    <tr><td><font class="labels">Clave</font></td><td><input type="password" name="clave1" value="" size="15" MAXLENGTH="10"/></td></tr>
    <tr><td><button type="reset">
    <img src="Imagen/delete.gif" alt="" style="height: 17px; "/>Cancelar</button>
	</td><td>
	<button type="submit">
    <img src="Imagen/save.png" alt="" style="height: 17px; "/>Grabar
    </button>
	</td></tr>
    </table>
    </form>
    
    		<div id="pie">
			<div id="navabajo">
				<a href="menu.jsp">Atras</a> </br>
				Sistema Fulbinet</div>
			</div>
		</div>
    
    
    <script type="text/javascript"> 
  	function dateChanged(calendar) {
    	if (calendar.dateClicked) {
     	 var y = calendar.date.getFullYear();
     	 var m = calendar.date.getMonth();
     	 var d = calendar.date.getDate();
     	<%--window.location = "CrearClienteServlet";--%>
  	  }
  	};
  	Calendar.setup(
  	  {
   	   flat         : "calendar-container",
   	   flatCallback : dateChanged
   	 }
 	 );
 	 Calendar.setup(
  	  {
   	   inputField  : "date",
   	   ifFormat    : "%Y-%m-%d",
   	   button      : "trigger"
  	  }
 	 );
  	</script>
    
<%-- <a href="InsExtServlet"  class="Estilo4">Instrumento Cliente</a> --%>
 </fieldset>
<%--@include file="pie.jsp" --%>